<template>
    <div class="box">
        <div class="sucInfo">
            <img src="@images/ico_suc.png" alt="">
            <p><b>결제가 완료되었습니다.</b></p>
        </div>
        <div class="links">
            <el-link>안내사항입니다.</el-link><br>
            <el-link>기타 안내사항입니다.</el-link>
        </div>
        <div class="btns">
            <el-button type="primary" @click="goCoachInfo">신청서 작성</el-button>
            <el-button plain @click="goMyOrder">주문내역</el-button>
        </div>
    </div>
</template>

<script>
export default {
  name:'',
  components:{},
  props:[],
  data(){
    return {
      orderID:'',
      type:'',
    }
  },
  computed:{},
  created(){
    this.orderID=this.$route.query.id||'';
    this.type=this.$route.query.type||1;
  },
  mounted(){},
  methods:{
    goCoachInfo(){
      this.$router.replace({
        path: '/coach/info',
        query:{
          id:this.orderID,
          type:this.type
        } 
      })
    },
    goMyOrder(){
      this.$router.replace('/my/order')
    }
  },
  watch:{}
}
</script>
<style lang="scss" scoped>
  @import "css/pay.scss";
</style>